#ifndef NANE_TEST0_H
#   define NANE_TEST0_H

#   include "nane/testframework/testframework.h"
#   include "cml/cml.h"

namespace nane
{
    class Test0
        : public TestFramework
    {
    public:
        void OnSetup();
        void OnUpdate( uint32 _dt );
        void OnRender();
        void OnShutdown();

    public:
        void RotateY( float _value );
        void RotateX( float _value );
        void ToggleRotate();

    private:
        VertexBuffer m_pVB;
        IndexBuffer m_pIB;
        Texture m_pTexture;
        ScriptModule m_scriptModule;
        cml::matrix44f_r m_world;
        cml::matrix44f_r m_view;
        bool m_rotating;
    };
}   // namespace nane

#endif // NANE_TEST0_H
